# name : macro check whether a variable exist in macro
# key : macro.check.variable.exist.macro
# contributor: Shuguang Sun
# --
%macro ${1:is_var_exisit};
  %if %symexist(${2:var}) %then %put %nrstr(%symexist($2)) = TRUE;
  %else %put %nrstr(%symexist($2)) = FALSE;
%mend $1;
%$1;